package org.wk.account.domain.zuan;

import org.hibernate.annotations.GenericGenerator;
import org.wk.core.db.domain.BaseEntity;

import javax.persistence.*;

/**
 * @ClassName SubAccountZuanExchangeCNY
 * @Description 鲸钻  鲸钻提取现金申请
 * @Author ZhaoPing'an
 * @Date 2018/7/2 15:28
 */
@Entity(name="org.wk.account.domain.zuan.SubAccountZuanExchangeCNY")
@Table(name="sub_account_zuan_exchange_cny")
public class SubAccountZuanExchangeCNY extends BaseEntity {
    private static final long serialVersionUID = 1L;
    @Id
    @Column(name = "id", unique = true, nullable = false, length = 32)
    @GeneratedValue(generator="system-uuid")
    @GenericGenerator(name="system-uuid",strategy = "uuid")
    private String id;
    @Column
    private String userId;
    /**
     * @Fields amount: int
     * @Desc 提现金额
     */
    @Column
    private int amount;
    /**
     * @Fields zuanAmount: int
     * @Desc 鲸钻数量
     */
    @Column
    private int zuanAmount;
    /**
     * @Fields phoneNumber: String
     * @Desc 手机号
     */
    @Column
    private String mobileNumber;
    /**
     * @Fields exchangecnyTypeCode: String
     * @Desc 提现类型(支付宝、银行卡...)
     */
    @Column
    private String exchangecnyTypeCode;
    @Column
    private String exchangecnyTypeName;
    /**
     * @Fields realName: String
     * @Desc 真实姓名
     */
    @Column
    private String realName;
    /**
     * @Fields receiveNum: String
     * @Desc 收款账户
     */
    @Column
    private String receiveAccount;

    /**
     * @Fields reason: String
     * @Desc 拒绝打款原因
     */
    @Column
    private String reason;

    /**
     * @Fields reason: String
     * @Desc 提取现金状态
     */
    @Column
    private String exchangeStatusCode;
    @Column
    private String exchangeStatusName;


    public String getId() {
        return id;
    }

    public String getUserId() {
        return userId;
    }

    public String getExchangecnyTypeCode() {
        return exchangecnyTypeCode;
    }

    public String getExchangecnyTypeName() {
        return exchangecnyTypeName;
    }

    public String getRealName() {
        return realName;
    }

    public String getReceiveAccount() {
        return receiveAccount;
    }

    public void setId(String id) {
        this.id = id;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public void setExchangecnyTypeCode(String exchangecnyTypeCode) {
        this.exchangecnyTypeCode = exchangecnyTypeCode;
    }

    public void setExchangecnyTypeName(String exchangecnyTypeName) {
        this.exchangecnyTypeName = exchangecnyTypeName;
    }

    public void setRealName(String realName) {
        this.realName = realName;
    }

    public void setReceiveAccount(String receiveAccount) {
        this.receiveAccount = receiveAccount;
    }

    public String getMobileNumber() {
        return mobileNumber;
    }

    public void setMobileNumber(String mobileNumber) {
        this.mobileNumber = mobileNumber;
    }

    public int getAmount() {
        return amount;
    }

    public void setAmount(int amount) {
        this.amount = amount;
    }

    public String getReason() {
        return reason;
    }

    public String getExchangeStatusCode() {
        return exchangeStatusCode;
    }

    public String getExchangeStatusName() {
        return exchangeStatusName;
    }

    public void setReason(String reason) {
        this.reason = reason;
    }

    public void setExchangeStatusCode(String exchangeStatusCode) {
        this.exchangeStatusCode = exchangeStatusCode;
    }

    public void setExchangeStatusName(String exchangeStatusName) {
        this.exchangeStatusName = exchangeStatusName;
    }

    public int getZuanAmount() {
        return zuanAmount;
    }

    public void setZuanAmount(int zuanAmount) {
        this.zuanAmount = zuanAmount;
    }
}
